package com.behelpful.common.core.exceptions;

import lombok.Data;

/**
 * @author Alay
 * @date 2021-08-05 00:21
 * @project behelpful
 */
@Data
public class IRuntimeException extends RuntimeException {

    private String code;

    private String msg;

    public IRuntimeException(String message, String code) {
        super(message);
        this.code = code;
    }

    public IRuntimeException() {
    }


}
